<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="../common/baseCss.jsp" %>
<title>编辑用户积分</title>
</head>
<body>
<article class="page-container">
	<form class="form form-horizontal" id="form-userIntegral-edit">
		<input type="hidden" name="uid" id="uid" value="${userIntegral.uid}">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">昵称：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="${userIntegral.uname}" id="uname" name="uname" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">姓名：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="${userIntegral.realName}" id="realName" name="realName" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">手机：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="${userIntegral.phone}" id="phone" name="phone" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">学校：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="${userIntegral.sname}" id="sname" name="sname" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">角色：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" value="${userIntegral.rleNames}" id="rleNames" name="rleNames" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">当前积分数量：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="number" class="input-text" value="${userIntegral.integral}" id="integral" name="integral" readonly="readonly">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>增减积分数量：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="number" class="input-text" value="" id="increaseIntegral" name="increaseIntegral" style="width: 200px;">
				<span style="float: right"><font color="red">提示：增积分为正数,减积分为负数</font></span>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>类型：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<select id="itid" name="itid" class="select" style="width:200px;height:31px">
					<c:forEach items="${integralTypes}" var="integralType">
					    <option class="select" style="width:200px" name="" value="${integralType.itid}">${integralType.name}</option>
					</c:forEach>
				</select>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>增减积分备注：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<textarea rows="4" cols="50" id="comment" name="comment" style="resize:none"></textarea>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
			</div>
		</div>
	</form>
</article>

<%@ include file="../common/baseJs.jsp" %>
<script type="text/javascript" src="manager/js/userIntegral/user_integral_edit.js"></script>
</body>
</html>